package com.leaf.spring.y201911.day19;

/**
 * 测试Map
 * @author gaowenjin
 *
 */
public class MyHashMapTest {

	public static void main(String[] args) {

		MyMap<String, String> myMap = new MyHashMap<>();

		for (int i = 0; i < 500; i++) {
			myMap.put("key" + i, "value" + i);
		}

		for (int i = 0; i < 500; i++) {
			System.out.println("key" + i + ",value is:" + myMap.get("key" + i));
		}

	}

}
